// 引入所需的组件样式 - 方式三
@import "../static/iconfont/iconfont";

page {
  width: 100%;
  height: 100%;
}

view {
  box-sizing: border-box;
}

.hxPage {
  .my_dialog {
    z-index: 2000;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    &_wrap {
      position: absolute;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, .7);
    }

    &_main {
      position: absolute;
      top: 45%;
      left: 50%;
      width: 50%;
      transform: translate(-50%, -50%);
      background: #ffffff;
      border-radius: 10PX;

      &_header {
        display: flex;
        justify-content: center;
        border-bottom: 1PX solid $color-hxRed;
        padding: 10PX;
        color: #000000;
        font-weight: 700;

        View {
          color: $color-hxRed;
          margin-left: 10PX;
        }
      }

      &_footer {
        padding: 10PX;
      }
    }
  }

  .pay, .orderFood, .consume, .charge_list_wrap, .rewardList {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  hx-infinite-scroll {
    display: flex;
    flex: 1;
  }

  &_money_wrap {
    .at-col-3 {
      margin: 1.5rem 0;
      display: flex;
      justify-content: center;
    }
  }

  &_list {
    .at-list__item-content {
      margin-right: 0;
    }
  }

  &_ipt_label {
    width: 120PX;
    color: $color-hxRed !important;
  }

  &_money {
    display: inline-block;
    color: $color-hxRed;
  }

  &_money_input {
    padding: 0 2PX;
    width: 100PX;
    border: 1PX solid #e1e1e1;
    margin: 0;
    border-radius: 2PX;

    input {
      color: $color-hxRed;
    }
  }
}

.hxBadge {
  position: absolute;
  top: 0;
  right: -8PX;
  color: #FFF;
  font-size: 12PX;
  border-radius: 50%;
  background: #FF4949;
  box-shadow: 0 4PX 8PX 0 rgba(255, 73, 73, 0.2);
  z-index: 1;
  width: 14PX;
  height: 14PX;
  display: flex;
  justify-content: center;
  align-items: center;

  &_wrap {
    position: relative;
  }
}

.hxButton {
  color: white;
  border-color: $color-border1;
  background: $color-hxRed;
  width: 94%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0;
}

.sm_button {
  width: 70PX;
  height: 30PX;
  font-size: 16PX;
}

.xs_button {
  width: 48PX;
  height: 24PX;
  font-size: 12PX;
}

.hxPicker {
  color: #b71120;
  border: 1PX solid #b71120;
  border-radius: 14PX;
  padding: 2PX 5PX;
}

.hxButton1 {
  border: 0;
  font-size: 14PX;
  font-weight: 700;
  border-radius: 14PX;
  color: white;
  position: relative;
  width: 80PX;
  height: 28PX;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(to right, #25aae1, #40e495);
  box-shadow: 0 4px 15px 0 rgba(49, 196, 190, 0.75);
}

.hx-input {
  position: relative;
  padding: 12PX 0;
  color: #333;
  background-color: #FFF;
  margin-left: 20PX;
  margin-bottom: 1PX;
  display: flex;

  &-label {
    margin-right: 16PX;
    width: 80PX;
    line-height: 1.5;
    vertical-align: middle;
    text-align: left;
  }

  input {
    flex: 1;
  }
}
